package com.leyou.cart.service;

import com.leyou.cart.pojo.Cart;

import java.util.List;

/**
 * @ClassName CartService
 * @Date 2019/2/27 9:07
 */
public interface CartService {

    void addCart(Cart cart);

    List<Cart> queryCarts();

    void updateNum(Long skuId, Integer num);

    void deleteCart(String skuId);

    void insertLocalCarts(List<Cart> carts);
}
